package com.david.docker.service.impl;

import com.david.docker.domain.Tbuser;
import com.david.docker.mapper.UserMapper;
import com.david.docker.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author David
 * @version V1.0
 * @Package com.david.docker.service.impl
 * @date 2021/6/20 17:59
 */
@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserMapper userMapper;

    @Override
    public List<Tbuser> queryUsers() {
        return this.userMapper.selectList(null);
    }
}
